package com.wanmait.translate.administration.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.translate.pojo.AdministrationTicket;
import com.wanmait.translate.pojo.City;
import com.wanmait.translate.pojo.Province;

import java.util.List;

public interface AdministrationTicketService extends CommenService<AdministrationTicket> {
    List<Province> ListAllProvince();
    List<City> ListCitiesById(Integer id);
    PageInfo<AdministrationTicket> ListAllByName(Integer pageNum,Integer pageSize,String name);
    PageInfo<AdministrationTicket> ListAllByBooking(Integer pageNum,Integer pageSize);
    PageInfo<AdministrationTicket> ListAllByNotBooking(Integer pageNum,Integer pageSize);
}
